/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package objects;

/**
 *
 * @author nicra
 */
public enum Type {
    MILL,
    ESTATE,
    NOTHING;
    
    public static String toString(Type t){
        switch(t){
            case MILL: return "Mlyn";
            case ESTATE: return "Osiedle";
            default: return "";
        }
    }
    
    @Override
    public String toString(){
        switch(this){
            case MILL: return "Mlyn";
            case ESTATE: return "Osiedle";
            default: return "";
        }
    }
}
